home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / workbench / workbench.inc < prev   
Text File  |  1998-06-24  |  2KB  |  92 lines

  1. include "inc/exec/types.inc";
  2. include "inc/exec/nodes.inc";
  3. include "inc/exec/lists.inc";
  4. include "inc/exec/tasks.inc";
  5. include "inc/intuition/intuition.inc";
  6.  
  7. def WBDISK = 1;
  8. def WBDRAWER = 2;
  9. def WBTOOL = 3;
  10. def WBPROJECT = 4;
  11. def WBGARBAGE = 5;
  12. def WBDEVICE = 6;
  13. def WBKICK = 7;
  14. def WBAPPICON = 8;
  15.  
  16. struct DrawerData is
  17.   dd_NewWindow:NewWindow;
  18.   dd_CurrentX:long;
  19.   dd_CurrentY:long;
  20.   dd_Flags:ulong;
  21.   dd_ViewModes:uword;
  22. ;
  23.  
  24. def DRAWERDATAFILESIZE = (sizeof(DrawerData));
  25.  
  26. struct DiskObject is
  27.   do_Magic:uword;
  28.   do_Version:uword;
  29.   do_Gadget:Gadget;
  30.   do_Type:ubyte;
  31.   do_DefaultTool:ulong;
  32.   do_ToolTypes:ulong;
  33.   do_CurrentX:long;
  34.   do_CurrentY:long;
  35.   do_DrawerData:ulong;
  36.   do_ToolWindow:ulong;
  37.   do_StackSize:long;
  38.  
  39. ;
  40.  
  41. def WB_DISKMAGIC = $e310;
  42. def WB_DISKVERSION = 1;
  43. def WB_DISKREVISION = 1;
  44.  
  45. def WB_DISKREVISIONMASK = 255;
  46.  
  47. struct FreeList is
  48.   fl_NumFree:word;
  49.   fl_MemList:List;
  50. ;
  51.  
  52. def GFLG_GADGBACKFILL = $0001;
  53.  
  54. def NO_ICON_POSITION = ($80000000);
  55.  
  56. def WORKBENCH_NAME = "workbench.library";
  57.  
  58. def AM_VERSION = 1;
  59.  
  60. struct AppMessage is
  61.   am_Message:Message;
  62.   am_Type:uword;
  63.   am_UserData:ulong;
  64.   am_ID:ulong;
  65.   am_NumArgs:long;
  66.   am_ArgList:ulong;
  67.   am_Version:uword;
  68.   am_Class:uword;
  69.   am_MouseX:word;
  70.   am_MouseY:word;
  71.   am_Seconds:ulong;
  72.   am_Micros:ulong;
  73.   am_Reserved[8]:ulong;
  74. ;
  75.  
  76. def AMTYPE_APPWINDOW = 7;
  77. def AMTYPE_APPICON = 8;
  78. def AMTYPE_APPMENUITEM = 9;
  79.  
  80. struct AppWindow is
  81.   aw_PRIVATE:ulong;
  82. ;
  83.  
  84. struct AppIcon is
  85.   ai_PRIVATE:ulong;
  86. ;
  87.  
  88. struct AppMenuItem is
  89.   ami_PRIVATE:ulong;
  90. ;
  91.  
  92.